package com.hnichr.ump.common.talent.library.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_talent_certificate",indexes = {@Index(columnList = "USER_ID_")})
@Schema(description = "人才库-资质证书")
public class Certificate extends Talent {
    /**
     * 名称
     */
    @Column(name = "NAME_")
    @Schema(description = "名称")
    private String name;

    /**
     * 获取时间
     */
    @Column(name = "TIME_")
    @Schema(description = "获取时间")
    private Date time;

    /**
     * 发证单位
     */
    @Column(name = "LICENSE_ISSUING_UNIT_")
    @Schema(description = "发证单位")
    private String licenseIssuingUnit;

    /**
     * 简历id
     */
    @Column(name = "RESUME_ID_")
    @Schema(description = "简历id")
    private String resumeId;
}
